import requests


symbol = "BTCUSD"  # 输入btcusdt错误
url = f"https://fapi.binance.com/fapi/v1/assetIndex?symbol={symbol}"
response = requests.get(url)
data = response.json()
print(data)